package cn.edu.xmist.supermarket.zpc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 页面跳转
 */
@Controller
@RequestMapping({"/index", "/"})
public class HtmlController {

    @RequestMapping
    public String index() {
        return "index";
    }

    @RequestMapping("/product")
    public String ware() {
        return "product";
    }

    @RequestMapping("/house")
    public String house() {
        return "house";
    }

    @RequestMapping("/supplier")
    public String supplier() {
        return "supplier";
    }

    @RequestMapping("/login")
    public String login() {
        return "login";
    }
}
